package com.yaodian100.ec.product.remote;

import org.springframework.beans.factory.annotation.Autowired;

import com.yaodian100.ec.product.service.AndeProductService;

public class RemoteAndeProductServiceImpl implements RemoteAndeProductService {
	@Autowired
	private AndeProductService andeProductService;

	@Override
	public String importAndeProduct(String importDate, String[] productIds) {
		try {
			andeProductService.importAndeProduct(importDate, productIds);
			return "true";
		} catch (Exception e) {
			return "[importAndeProduct]err:" + e.getMessage();
		}
	}
}